package org.lanqiao.bean;

import java.io.Serializable;

/**
 * resume
 * @author 
 */
public class Resume implements Serializable {
    private Integer id;

    private Integer userId;

    private String itemIds;

    private String jobIds;

    private String educationIds;

    private String zuopinIds;

    private String jobPlace;

    private Integer jobType;

    private String jobPosition;

    private Integer monthlyPay;

    private String resumeName;

    private String changeTime;

    private Integer  stateId;

    private String date;

    private String b1;

    private String b2;

    private String b3;

    private String selfDescription;

    private static final long serialVersionUID = 1L;
    
    

    public Resume(Integer id, String jobIds) {
		super();
		this.id = id;
		this.jobIds = jobIds;
	}

	public Resume(Integer userId) {
		super();
		this.userId = userId;
	}

	public Resume() {
		super();
	}

	public Resume(String selfDescription) {
		super();
		this.selfDescription = selfDescription;
	}


	public Resume(String jobPlace, Integer jobType, String jobPosition, Integer monthlyPay,Integer id) {
		super();
		this.id=id;
		this.jobPlace = jobPlace;
		this.jobType = jobType;
		this.jobPosition = jobPosition;
		this.monthlyPay = monthlyPay;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getItemIds() {
        return itemIds;
    }

    public void setItemIds(String itemIds) {
        this.itemIds = itemIds;
    }

    public String getJobIds() {
        return jobIds;
    }

    public void setJobIds(String jobIds) {
        this.jobIds = jobIds;
    }

    public String getEducationIds() {
        return educationIds;
    }

    public void setEducationIds(String educationIds) {
        this.educationIds = educationIds;
    }

    public String getZuopinIds() {
        return zuopinIds;
    }

    public void setZuopinIds(String zuopinIds) {
        this.zuopinIds = zuopinIds;
    }

    public String getJobPlace() {
        return jobPlace;
    }

    public void setJobPlace(String jobPlace) {
        this.jobPlace = jobPlace;
    }

    public Integer getJobType() {
        return jobType;
    }

    public void setJobType(Integer jobType) {
        this.jobType = jobType;
    }

    public String getJobPosition() {
        return jobPosition;
    }

    public void setJobPosition(String jobPosition) {
        this.jobPosition = jobPosition;
    }

    public Integer getMonthlyPay() {
        return monthlyPay;
    }

    public void setMonthlyPay(Integer monthlyPay) {
        this.monthlyPay = monthlyPay;
    }

    public String getResumeName() {
        return resumeName;
    }

    public void setResumeName(String resumeName) {
        this.resumeName = resumeName;
    }

    public String getChangeTime() {
        return changeTime;
    }

    public void setChangeTime(String changeTime) {
        this.changeTime = changeTime;
    }

    public Integer getstateId() {
        return  stateId;
    }

    public void setstateId(Integer  stateId) {
        this. stateId =  stateId;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getB1() {
        return b1;
    }

    public void setB1(String b1) {
        this.b1 = b1;
    }

    public String getB2() {
        return b2;
    }

    public void setB2(String b2) {
        this.b2 = b2;
    }

    public String getB3() {
        return b3;
    }

    public void setB3(String b3) {
        this.b3 = b3;
    }

    public String getSelfDescription() {
        return selfDescription;
    }

    public void setSelfDescription(String selfDescription) {
        this.selfDescription = selfDescription;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Resume other = (Resume) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
            && (this.getItemIds() == null ? other.getItemIds() == null : this.getItemIds().equals(other.getItemIds()))
            && (this.getJobIds() == null ? other.getJobIds() == null : this.getJobIds().equals(other.getJobIds()))
            && (this.getEducationIds() == null ? other.getEducationIds() == null : this.getEducationIds().equals(other.getEducationIds()))
            && (this.getZuopinIds() == null ? other.getZuopinIds() == null : this.getZuopinIds().equals(other.getZuopinIds()))
            && (this.getJobPlace() == null ? other.getJobPlace() == null : this.getJobPlace().equals(other.getJobPlace()))
            && (this.getJobType() == null ? other.getJobType() == null : this.getJobType().equals(other.getJobType()))
            && (this.getJobPosition() == null ? other.getJobPosition() == null : this.getJobPosition().equals(other.getJobPosition()))
            && (this.getMonthlyPay() == null ? other.getMonthlyPay() == null : this.getMonthlyPay().equals(other.getMonthlyPay()))
            && (this.getResumeName() == null ? other.getResumeName() == null : this.getResumeName().equals(other.getResumeName()))
            && (this.getChangeTime() == null ? other.getChangeTime() == null : this.getChangeTime().equals(other.getChangeTime()))
            && (this.getstateId() == null ? other.getstateId() == null : this.getstateId().equals(other.getstateId()))
            && (this.getDate() == null ? other.getDate() == null : this.getDate().equals(other.getDate()))
            && (this.getB1() == null ? other.getB1() == null : this.getB1().equals(other.getB1()))
            && (this.getB2() == null ? other.getB2() == null : this.getB2().equals(other.getB2()))
            && (this.getB3() == null ? other.getB3() == null : this.getB3().equals(other.getB3()))
            && (this.getSelfDescription() == null ? other.getSelfDescription() == null : this.getSelfDescription().equals(other.getSelfDescription()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
        result = prime * result + ((getItemIds() == null) ? 0 : getItemIds().hashCode());
        result = prime * result + ((getJobIds() == null) ? 0 : getJobIds().hashCode());
        result = prime * result + ((getEducationIds() == null) ? 0 : getEducationIds().hashCode());
        result = prime * result + ((getZuopinIds() == null) ? 0 : getZuopinIds().hashCode());
        result = prime * result + ((getJobPlace() == null) ? 0 : getJobPlace().hashCode());
        result = prime * result + ((getJobType() == null) ? 0 : getJobType().hashCode());
        result = prime * result + ((getJobPosition() == null) ? 0 : getJobPosition().hashCode());
        result = prime * result + ((getMonthlyPay() == null) ? 0 : getMonthlyPay().hashCode());
        result = prime * result + ((getResumeName() == null) ? 0 : getResumeName().hashCode());
        result = prime * result + ((getChangeTime() == null) ? 0 : getChangeTime().hashCode());
        result = prime * result + ((getstateId() == null) ? 0 : getstateId().hashCode());
        result = prime * result + ((getDate() == null) ? 0 : getDate().hashCode());
        result = prime * result + ((getB1() == null) ? 0 : getB1().hashCode());
        result = prime * result + ((getB2() == null) ? 0 : getB2().hashCode());
        result = prime * result + ((getB3() == null) ? 0 : getB3().hashCode());
        result = prime * result + ((getSelfDescription() == null) ? 0 : getSelfDescription().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", itemIds=").append(itemIds);
        sb.append(", jobIds=").append(jobIds);
        sb.append(", educationIds=").append(educationIds);
        sb.append(", zuopinIds=").append(zuopinIds);
        sb.append(", jobPlace=").append(jobPlace);
        sb.append(", jobType=").append(jobType);
        sb.append(", jobPosition=").append(jobPosition);
        sb.append(", monthlyPay=").append(monthlyPay);
        sb.append(", resumeName=").append(resumeName);
        sb.append(", changeTime=").append(changeTime);
        sb.append(",  stateId=").append( stateId);
        sb.append(", date=").append(date);
        sb.append(", b1=").append(b1);
        sb.append(", b2=").append(b2);
        sb.append(", b3=").append(b3);
        sb.append(", selfDescription=").append(selfDescription);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}